{% extends 'generic.html' %}
{% load i18n %} {# Translating code #}

{% block cssBlock %}
	<link href="/media/css/{{request.session.theme}}/pageForm/style.css" type="text/css" rel="stylesheet"/>	
	<link href="/media/css/{{request.session.theme}}/pageProfile/style.css" type="text/css" rel="stylesheet"/>
{% endblock %}

{% block header %}
	<h1>{% blocktrans %}Parallel Platform - Password retrieving{% endblocktrans %}</h1>
{% endblock %}

{% block article %}
<h1>{% blocktrans %}Retrieve your password{% endblocktrans %}</h1>
<p class="explanation">{% blocktrans %}Did you forget your password? Don't worry! We already thought this could happen! The only thing we need is your e-mail (the one you used to register the account and to log in) and we will send you a new password. We highly recommend you to set a password you will remember after!{% endblocktrans %}</p>
<form action="." method="POST">
	{% csrf_token %}
	{% if request.GET.next %}
		<input type="hidden" value="{{request.GET.next}}" name="next"> 
	{% endif %}
	{{form.non_field_errors}}
	<table>
		<tr>
			<td>
				{{form.email.label_tag}}
			</td>
			<td>
				{{form.email}}
			</td>
			<td>
				{{form.email.errors}}
			</td>
		</tr>
	</table>
<input type="submit" value="{% blocktrans %}Retrieve password{% endblocktrans %}" />
</form>

{% endblock %}